package benchmarks.tpch.mongo.dto;

import org.mongodb.morphia.annotations.Embedded;

@Embedded
public class SupplierDto {
    private int suppkey; //primary
    private String name;
    private String address;
    private String phone;
    private double acctbal;
    private String comment;
    @Embedded
    private NationDto nation;

    public SupplierDto() {
    }

    public int getSuppkey() {
        return suppkey;
    }

    public void setSuppkey(int suppkey) {
        this.suppkey = suppkey;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public double getAcctbal() {
        return acctbal;
    }

    public void setAcctbal(double acctbal) {
        this.acctbal = acctbal;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public NationDto getNation() {
        return nation;
    }

    public void setNation(NationDto nation) {
        this.nation = nation;
    }
}
